Memory-mapping support for reducer hyperobjects Citation
نویسندگان
چکیده
Reducer hyperobjects (reducers) provide a linguistic abstraction for dynamic multithreading that allows different branches of a parallel program to maintain coordinated local views of the same nonlocal variable. In this paper, we investigate how thread-local memory mapping (TLMM) can be used to improve the performance of reducers. Existing concurrency platforms that support reducer hyperobjects, such as Intel Cilk Plus and Cilk++, take a hypermap approach in which a hash table is used to map reducer objects to their local views. The overhead of the hash table is costly — roughly 12× overhead compared to a normal L1-cache memory access on an AMD Opteron 8354. We replaced the Intel Cilk Plus runtime system with our own Cilk-M runtime system which uses TLMM to implement a reducer mechanism that supports a reducer lookup using only two memory accesses and a predictable branch, which is roughly a 3× overhead compared to an ordinary L1-cache memory access. An empirical evaluation shows that the Cilk-M memory-mapping approach is close to 4× faster than the Cilk Plus hypermap approach. Furthermore, the memory-mapping approach admits better locality than the hypermap approach during parallel execution, which allows an application using reducers to
منابع مشابه
Memory abstractions for parallel programming
A memory abstraction is an abstraction layer between the program execution and the memory that provides a different “view” of a memory location depending on the execution context in which the memory access is made. Properly designed memory abstractions help ease the task of parallel programming by mitigating the complexity of synchronization or admitting more efficient use of resources. This di...
متن کاملCitation Behaviours of Applied Linguists in Discussion Sections of Research Articles
It is now generally accepted that academic writing is a social activity by which the authors negotiate with their audience to gain community acceptance for their findings. One of the ways to achieve such an acceptance is by establishing intertextual links to prior research using citation. Despite a vast research on the topic and suggestion of typologies for the form and function of citation in ...
متن کاملA Ssignment P Roblems of D Ifferent - S Ized
A MapReduce algorithm can be described by a mapping schema, which assigns inputs to a set of reducers, such that for each required output there exists a reducer that receives all the inputs that participate in the computation of this output. Reducers have a capacity, which limits the sets of inputs that they can be assigned. However, individual inputs may vary in terms of size. We consider, for...
متن کاملترسیم و تحلیل نقشه علمی پزشکی ایران با استفاده از روش هم استنادی موضوعی و معیارهای تحلیل شبکه اجتماعی
Introduction: Regarding the importance of medical research, scientific mapping and social network analysis, the main aim of this article was to visualize scientific mapping of medicine in Iran in 2007 based on the two indices of degree and betweenness centrality of social network analysis. Methods: In this scientometric study, the population of the study included all medical scientific products...
متن کاملتحلیل استنادی و ترسیم نقشه علمی تولیدات پژوهشگران ایرانی در زمینه سلولهای بنیادی نمایه شده در پایگاه نمایه استنادی علوم تا سال 2015
Introduction: For new scientific field to achieve more coherent position, it needs scientometric analysis more than other fields. This study aims to use citation analysis and scientific mapping of Iranian researchers' publications in stem cell indexed in science citation database up to 2015 Methods: This is an applied descriptive study using scientific mapping method. The population of this ...
متن کامل